package pres.dnf.test.java.springcloud.client.feign.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author dengfan
 * @version 1.0
 * @description
 * @date 2018/9/11 0011 15:54
 */
@FeignClient("ops-service-dnf")
public interface  OpsSerivce {

    @RequestMapping(value = "/add")
    Integer add(@RequestParam(value = "a") Integer a, @RequestParam(value = "b") Integer b );
}
